package com.cneport.transfer.router.support;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.cneport.transfer.router.ClientFinder;
import com.cneport.transfer.router.model.User;
import com.cneport.transfer.router.support.mapper.UserMapper;

@Component
public class ClientFinderImpl implements ClientFinder {

    @Autowired
    private UserMapper userMapper;
 
    
    public List<User> findClients(String clientId) {
        return userMapper.queryUserList(clientId);
    }
    
    public User findClient(String clientId) {
        return userMapper.queryUser(clientId);
    }


    public List<User> findReceivers(String... receiverIds) {
        return null;
    }

}
